﻿using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace StructGoTest.GameObjects {

	public class HeadGear {

		public string Name;
		public Texture2D Texture;
		public Vector2 Offset;
		public Vector2 Origin;

		public HeadGear(string name, Texture2D texture, float offsetY) {
			Name = name;
			Texture = texture;
			Offset = new Vector2(texture.Width/2, texture.Height*offsetY);
			Origin = new Vector2(Math.Abs(Offset.X)/Texture.Width, Math.Abs(Offset.Y)/Texture.Height);
		}

	}

}
